package com.wx.future.wx;

/**
 * @description:
 * @author: wangxun
 * @createDate: 2022/1/14
 * @version: 1.0
 */
public class TestMain {
    public static void main(String[] args) {
        ComeTask<Integer> comeTask = new ComeTask<>(() -> 1);

        new Thread(comeTask).start();
        System.out.println(comeTask.get());
    }
}
